﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_edit.aspx.cs" Inherits="AppBox.admin.user_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
    <ext:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="5px"
        EnableBackgroundColor="true" Title="SimpleForm">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                        Text="关闭">
                    </ext:Button>
                    <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"
                        OnClick="btnSaveClose_Click" runat="server" Text="保存后关闭">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Rows>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="tbxName" runat="server" Label="用户名" Required="true" ShowRedStar="true">
                    </ext:TextBox>
                    <ext:TextBox ID="tbxRealName" runat="server" Label="真实姓名" Required="true" ShowRedStar="true">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:DropDownList ID="ddlGender" Label="性别" runat="server">
                        <ext:ListItem Text="男" Value="男" />
                        <ext:ListItem Text="女" Value="女" />
                    </ext:DropDownList>
                    <ext:CheckBox ID="cbxEnabled" runat="server" Label="是否启用">
                    </ext:CheckBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="tbxEmail" runat="server" Label="电子邮箱" Required="true" ShowRedStar="true"
                        RegexPattern="EMAIL">
                    </ext:TextBox>
                    <ext:TextBox ID="tbxCellPhone" runat="server" Label="手机号">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="tbxOfficePhone" runat="server" Label="工作电话">
                    </ext:TextBox>
                    <ext:TextBox ID="tbxHomePhone" runat="server" Label="家庭电话">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:DropDownList ID="ddlRole" Label="所属角色" runat="server">
                    </ext:DropDownList>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:DropDownList ID="ddlDept" Label="所属部门" runat="server">
                    </ext:DropDownList>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:TextArea ID="tbxRemark" runat="server" Label="备注">
                    </ext:TextArea>
                </Items>
            </ext:FormRow>
        </Rows>
    </ext:Form>
    </form>
</body>
</html>
